import request from "@/utils/request";




export function addressAdd(data) {
  return request({
    url: "/mall/address/add",
    method: "post",
    data,
  });
}


export function addressList(data) {
  return request({
    url: "/mall/address/list",
    method: "post",
    data,
  });
} 
export function addressEdit(data) {
  return request({
    url: "/mall/address/edit",
    method: "post",
    data,
  });
} 
export function addressInfo(data) {
  return request({
    url: "/mall/address/info",
    method: "post",
    data,
  });
} 
export function addressDel(data) {
  return request({
    url: "/mall/address/del",
    method: "post",
    data,
  });
} 

export function addressSetDefault(data) {
  return request({
    url: "/mall/address/setDefault",
    method: "post",
    data,
  });
} 